package com.example.image;

import android.app.Application;
import android.content.Context;

public class MyApplication extends Application {
    public static Context sContext;

    @Override
    public void onCreate() {
        super.onCreate();

        if (sContext == null){
            sContext = getApplicationContext();
        }
    }

    private Context getsContext(){
        sContext = getApplicationContext();
        return sContext;
    }


    public static Context getContext(){

        return sContext;
    }
}
